package com.fen.demo002;

import com.fen.demo001.MessageProvider;
import com.fen.demo001.MessageRenderer;

/**
 * @author : lrf
 * @description :
 * @tip :
 * @date : 2019/3/21
 */
public class App {

    public static void main(String[] args) {

        MessageRenderer mr =
                MessageSupportFactory.getInstance().getRenderer();

        MessageProvider mp =
                MessageSupportFactory.getInstance().getProvider();

        mr.setMessageProvider(mp);

        mr.reader();
    }
}
